﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Net;

namespace Contract
{
    [ServiceContract]
    public interface IService_Allocation
    {
        [OperationContract]
        IPAddress agentAllocation();
        [OperationContract]
        void registerAgent(IPAddress ip);
        [OperationContract]
        List<IPAddress> AllAgents();
        [OperationContract]
        IPAddress[] getThreeAgent();

    }
}
